﻿<UserControl x:Class="Unscrambler.Views.HelpView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:localViews="clr-namespace:Unscrambler.Views"
             mc:Ignorable="d" 
             MaxWidth="900"
            Background="Beige" BorderBrush="Black" BorderThickness="2">
    <UserControl.Resources>
        <Style TargetType="{x:Type localViews:HelpView}">
            <Style.Triggers>
                <DataTrigger Binding="{Binding Path=ShowHelp}" Value="true">
                    <Setter Property="Visibility" Value="Visible"/>
                </DataTrigger>
                <DataTrigger Binding="{Binding Path=ShowHelp}" Value="false">
                    <Setter Property="Visibility" Value="Collapsed"/>
                </DataTrigger>
            </Style.Triggers>
        </Style>
    </UserControl.Resources>
    <StackPanel Orientation="Vertical" Margin="10,100,10,0">
        <TextBlock Text="How To Play Unscrambler" FontSize="20" FontWeight="Bold"/>
        <TextBlock Margin="5,50,5,10" FontSize="16" TextWrapping="Wrap" Text="Unscrambler is a simple word game. It will give you tiles in random locations on the board, and to unscramble the word you simply use your Windows 7 multitouch device to move the letters on to the chalkboard in the correct left-to-right order. Unscrambler will automatically detect when you have correctly unscrambled the word and will end the round for you.  In order for Unscrambler to recognize your answer you must make sure that your letter tiles are completely on the chalkboard. If a letter is only mostly on the chalkboard, Unscrambler will not recognize that letter as part of your answer. At the top left corner of your screen where it says 'Your Answer' is where Unscrambler shows its understanding of the word you are spelling."/>
        <TextBlock Margin="5,10,5,50" FontSize="16" TextWrapping="Wrap" Text="Your time for the round of 3 words is shown in the upper right corner of the game area. If you get stuck on a word you can click the 'Skip Word' button to move on to the next word. You can also click the 'Get Hint' button to receive one letter hints if you are stuck. Each hint that you get incurs a 2 minute penalty so don't overdo it! "/>
        <Button Content="Close" Command="{Binding Path=ToggleHelpCommand}" HorizontalAlignment="Center" Width="150" Height="80"/>
    </StackPanel>
</UserControl>
